package com.iad.model.valueobject {
  
  import flash.events.EventDispatcher;
  
  [Bindable]
  [RemoteClass(alias="com.iad.entity.WelcomeEmail")]
  public class WelcomeEmail extends EventDispatcher {
  
    public var id:Number;
    public var bandName:String;
    public var firstName:String;
    public var lastName:String;
    public var login:String;
    public var password:String;
    public var subject:String;
    public var content:String;
    public var author:String;
    public var recipient:String;
    public var date:Date;
    
    
    public function WelcomeEmail() {
    }
    
    public override function toString():String {
      var str:String;
      str = 
      "WelcomeEmail(" + "\n" + 
      "\tid= " +  id+ "\n" + 
      "\tbandName= " +  bandName + "\n" + 
      "\tfirstName= " +  firstName + "\n" + 
      "\tlastName= " +  lastName + "\n" + 
      "\tlogin= " +  login + "\n" + 
      "\tpassword= " +  password + "\n" + 
      "\tsubject= " + subject + "\n" + 
      "\tcontent= " +  content + "\n" + 
      "\tauthor = " + author + "\n" + 
      "\trecipient = " + recipient + "\n" + 
      "\tdate = " + date + "\n" + 
      ")\n\n";  
      return str;
    }
  
  }
  
}